package com.knowvoyage.knowvoyageserver.service;

import com.knowvoyage.knowvoyageserver.pojo.entity.Dialog;
import com.knowvoyage.knowvoyageserver.pojo.vo.Result;
import java.util.List;

public interface DialogService {
    Result<Boolean> insert(Dialog dialog);
    Result<Boolean> delete(Long dialogId);
    Result<Boolean> update(Dialog dialog);
    Result<Dialog> selectById(Long dialogId);
    Result<List<Dialog>> selectByUserId(Long userId);
    Result<List<Dialog>> selectAll();
}